﻿using IQIGame.Onigao.Framework;
using IQIGame.Onigao.GamePlay;

namespace IQIGame.Onigao.Logic
{
    public class BattleRoundEndState : BattleBaseState
    {
        public BattleRoundEndState(BattlePlayController playController) : base(playController)
        {
        }

        public override EBattleState stateId => EBattleState.RoundEnd;
        public override void OnInit()
        {
        }

        public override void OnEnter(EBattleState prevStateId)
        {
            this.mPlayCtrl.RoundEnd();
            this.ChangeState(EBattleState.RoundStart);
        }

        public override void OnExit()
        {
        }

        public override void Dispose()
        {
        }
    }
}